﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MegaBitProject.Models
{
    public interface IGameRepository
    {
        IEnumerable<Application> getGames { get; set; }
        IEnumerable<Game> getOpenGames { get; set; }
        IEnumerable<PlayedGame> getPlayedGames { get; set; }
        IEnumerable<Score> getScore { get; set; }
        IEnumerable<UserProfile> getUser { get; set; }
        IEnumerable<Statistic> getStats { get; set; }
        IEnumerable<WordList> getWord { get; set; }
        IEnumerable<Pictionary> getPictionary { get; set; }
        IEnumerable<Complaints> getBans { get; set; }
        void newGame(Game g);
        void newPictionary(Pictionary p);
        void updatePictionary(int gameid, string newWord, string userName);
        void joinGame(PlayedGame g);
        void updateScore(string id, int change);
        void updateStats(Statistic s);
        void addBanList(Complaints c);
    }
}
